import request from '@/utils/request'
var qs = require('qs')
export function login() {
  return request({
    url: 'login/loginIn',
    method: 'get'
  })
}

export function getInfo(token) {
  return request({
    url: '/user/info',
    method: 'get',
    params: { token }
  })
}

export function logout() {
  return request({
    url: '/login/logOff',
    method: 'post'
  })
}
